<%-- 
    Document   : DBConexion
    Created on : 04-sep-2013, 16:36:16
    Author     : ANGEL
--%>

<%@page import="java.sql.ResultSet"%>
<%@page import="java.sql.Statement"%>
<%@page import="java.sql.DriverManager"%>
<%@page import="java.sql.Connection"%>
<%@page import="oracle.jdbc.OracleDriver" language="java" %>
<%
Connection conexion=null;
String qry=null;
Statement stm=null;
ResultSet rs=null;
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
conexion=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe",
        "alumno", 
        "a123456");
stm=conexion.createStatement();

%>